Skip to content

chore: analyse the scripts directory in Sonar - #331

Merged
kurkle merged 1 commit into
mainfrom
chore/sonar-scripts
Nov 21, 2026
Merged

kurkle merged 1 commit into
mainfrom
chore/sonar-scripts

Conversation

@kurkle

@kurkle kurkle commented Nov 21, 2026

Copy link
Copy Markdown
Owner

SonarCloud currently analyses only src/ and .github/workflows, so the files in scripts/ were never scanned.

This adds scripts/ to sonar.sources so they are analysed for issues, and excludes scripts/** from the coverage requirement (sonar.coverage.exclusions), because these build/maintenance scripts have no unit tests and would otherwise count against the coverage requirement on new lines.

Only sonar-project.properties changes.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying chartjs-plugin-gradient with  Cloudflare Pages  Cloudflare Pages

Latest commit: 36c2b65
Status: ✅  Deploy successful!
Preview URL: https://c3284207.chartjs-plugin-gradient.pages.dev
Branch Preview URL: https://chore-sonar-scripts.chartjs-plugin-gradient.pages.dev

View logs

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

Size Change: 0 B

Total Size: 12.7 kB

ℹ️ View Unchanged
Filename Size
dist/chartjs-plugin-gradient.cjs 3.63 kB
dist/chartjs-plugin-gradient.esm.js 3.47 kB
dist/chartjs-plugin-gradient.js 3.63 kB
dist/chartjs-plugin-gradient.min.js 2.02 kB

compressed-size-action

@kurkle
kurkle merged commit e918695 into main Nov 21, 2026
6 checks passed
@kurkle
kurkle deleted the chore/sonar-scripts branch November 21, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant